import {CustomerProvider} from "../../providers/customerProvider";
import {KitProvider} from "./KitProvider";
import {NavController} from "ionic-angular";
export class CustomerPage {
  public kit: KitProvider;
  public nav: NavController;

  checkLogin() {
    if (!this.kit.auth.check())
      this.nav.setRoot(CustomerProvider);
    else
      this.kit.menu.enable(true, 'customerMenuID');
  }

  public alertMsg(title: string, subTitle: string) {
    this.kit.alertMsg(title, subTitle);
  }
}
